<?php

namespace app\common\model\user;


use app\common\model\BaseModel;

class UserIntegralBill extends BaseModel
{

    /**
     * @return string
     * @author: fupeng
     * @day: 2024/3/21
     */
    public static function tablePk(): string
    {
        return 'bill_id';
    }

    /**
     * @return string
     * @author: fupeng
     * @day: 2024/3/21
     */
    public static function tableName(): string
    {
        return 'user_integral_bill';
    }

    public function user()
    {
        return $this->hasOne(User::class, 'uid', 'uid');
    }

}
